<%--
  Created by IntelliJ IDEA.
  User: 梁玉杰
  Date: 2021/7/29
  Time: 20:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>智慧校园-教室管理</title>

    <%--Layui的js--%>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/libs/layui/layui.js"
            charset="utf-8"></script>
    <%--Layui的css--%>
    <link rel="stylesheet"
          href="${pageContext.request.contextPath}/libs/layui/css/layui.css"
          media="all">
</head>
<body>

<%--项目名称--%>
<div>
    <input type="hidden" id = "basePath" value="${pageContext.request.contextPath}"/>
</div>

<%--模糊查询--%>
<div>
    <form class="layui-form" action="">
    <div class="layui-form-item" style="width: 300px">
        <label class="layui-form-label">区域：</label>
        <div class="layui-input-block">
            <select name="area" lay-filter="area">
                <option value=""></option>
<%--                <option value="0">请选择</option>
                <option value="A" >A区</option>
                <option value="B">B区</option>
                <option value="3">音乐</option>
                <option value="4">旅行</option>--%>
            </select>
        </div>
    </div>

    <div class="layui-form-item" style="width: 300px">
        <label class="layui-form-label">楼号：</label>
        <div class="layui-input-block">
            <select name="buildingNo" lay-filter="buildingNo">
                <option value=""></option>
<%--                <option value="0">请选择</option>
                <option value="1" >第一号楼</option>
                <option value="2">第二号楼</option>
                <option value="3">音乐</option>
                <option value="4">旅行</option>--%>
            </select>
        </div>
    </div>

    <div class="layui-form-item" style="width: 300px">
        <label class="layui-form-label">楼层：</label>
        <div class="layui-input-block">
            <select name="buildingFloor" lay-filter="buildingFloor">
                <option value=""></option>
<%--                <option value="0">请选择</option>
                <option value="1" >第一层</option>
                <option value="2">第二层</option>
                <option value="3">音乐</option>
                <option value="4">旅行</option>--%>
            </select>
        </div>
    </div>


<%--模糊查询的按钮--%>
    <div class="layui-btn-container">
        <button type="button" lay-submit lay-filter="fuzzyQuery"
                class="layui-btn layui-btn-lg layui-btn-radius layui-btn-normal"
        ><i class="layui-icon layui-icon-search"></i>
            查询</button>
        <button type="reset" class="layui-btn layui-btn-lg layui-btn-radius layui-btn-warm"
        ><i class="layui-icon layui-icon-chat"></i>
            重置</button>
<%--        <button type="reset" class="layui-btn layui-btn-lg layui-btn-radius layui-btn-warm"
        ><i class="layui-icon layui-icon-wifi"></i>
            重置</button>--%>
    </div>


    </form>


</div>




<%--数据表格--%>
<div>
    <table class="layui-hide" id="classTable" lay-filter="classTable"></table>

    <%--头部工具栏--%>
    <script type="text/html" id="classToolbar">
        <div class="layui-btn-container">
            <button class="layui-btn layui-btn-sm" lay-event="getCheckData">获取选中行数据</button>
            <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">获取选中数目</button>
            <button class="layui-btn layui-btn-sm" lay-event="isAll">验证是否全选</button>
        </div>
    </script>

    <%--航工具栏--%>
    <script type="text/html" id="classBar">
        <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
    </script>
</div>



<%--jquery的js--%>
<script type="text/javascript"
        src="${pageContext.request.contextPath}/libs/jquery/jquery-3.5.1.js"
        charset="utf-8"></script>
<%--自己的js--%>
<script type="text/javascript"
        src="${pageContext.request.contextPath}/static/js/student/ccclist.js"></script>
</body>
</html>
